package cn.south.campus.admin.campus.model.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * <p>
 *
 * </p>
 *
 * @author chow
 * @since 2024/11/14 9:24
 */
public interface PartTimeJobEnums {
    Integer getCode();

    String getDesc();

    @AllArgsConstructor
    @Getter
    enum PartTimeJobStatus {
        PUBLISHED(1, "已发布"),
        FINISHED(2, "已结束"),
        CANCELED(3, "已取消");
        private final Integer code;
        private final String desc;
    }

    @AllArgsConstructor
    @Getter
    enum ApplyStatus {
        WAIT_AUDIT(0, "待审核"),
        PASS(1, "审核通过"),
        REJECT(2, "审核拒绝");
        private final Integer code;
        private final String desc;
    }
}
